 export const dateServer = value => {
	console.log(value)
	if(value){
		return value.length
	}
	return 0
}
// 日期过滤 如 2018-12-20

 export const dateFilters = value => {
	if (value) {
	    return value.slice(0, 10);
	}
	return value;
}

// 图片路径

 export const imgUrl = value => {
	if (value) {
	    return 'https://gnzxwylz.xlygrcw.com/upload'+value;
	}
	return value;
}


// 图片路径

 export const pubImgUrl = value => {
	if (value) {
	    return 'https://gnzxwylz.xlygrcw.com/upload/GNZX'+value;
	}
	return value;
}

